from api.login import number_test

test_data = [{"username":"13488888888","password":"123456"},{"username":"","password":"123456"}]
for i in test_data:
    # print(i)
    username = i["username"]
    num = number_test(username)
    # print(num)
    if username == "13488888888":
        assert "账号成功" == num
    else:
        assert "账号错误" == num
